.content {
    width: 100%;
    height: auto;
    min-height: 95%;
    padding: 25px;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

/* 文章头部 */
.article-header {
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.back-link {
    margin-bottom: 20px;
}

.back-link a {
    color: #3498db;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-link a:hover {
    color: #2980b9;
    text-decoration: underline;
}

.back-link a i {
    margin-right: 5px;
}

.article-header .title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 15px 0;
    line-height: 1.3;
}

.article-header .date {
    color: #7f8c8d;
    font-size: 0.95rem;
    display: inline-block;
    padding: 5px 10px;
    background-color: rgba(236, 240, 241, 0.5);
    border-radius: 20px;
}

.article-header .date i {
    margin-right: 5px;
    color: #95a5a6;
}

/* 文章内容区 */
.detail-container {
    padding: 10px 0;
    margin-bottom: 40px;
}

.detail {
    color: #34495e;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* 增强markdown渲染后的样式 */
.detail h1, .detail h2, .detail h3, .detail h4, .detail h5, .detail h6 {
    color: #2c3e50;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.detail h1 {
    font-size: 2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.detail h2 {
    font-size: 1.8rem;
}

.detail h3 {
    font-size: 1.5rem;
}

.detail p {
    margin-bottom: 20px;
}

.detail blockquote {
    border-left: 4px solid #3498db;
    padding: 15px;
    background-color: rgba(236, 240, 241, 0.7);
    margin: 20px 0;
    color: #34495e;
}

.detail code {
    background-color: rgba(236, 240, 241, 0.5);
    padding: 3px 6px;
    border-radius: 3px;
    font-family: Consolas, Monaco, 'Andale Mono', monospace;
    font-size: 0.9em;
}

.detail pre {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin: 20px 0;
}

.detail img {
    max-width: 100%;
    border-radius: 5px;
    margin: 20px 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.detail ul, .detail ol {
    padding-left: 25px;
    margin: 20px 0;
}

.detail li {
    margin-bottom: 10px;
}

.detail a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s;
}

.detail a:hover {
    color: #2980b9;
    text-decoration: underline;
}

.detail table {
    border-collapse: collapse;
    width: 100%;
    margin: 20px 0;
}

.detail table th, .detail table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

.detail table th {
    background-color: rgba(236, 240, 241, 0.7);
    color: #2c3e50;
}

/* 操作区域 */
.operating {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.operating button {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.operating button i {
    margin-right: 8px;
}

.operating .edit-btn {
    background-color: #3498db;
    color: white;
}

.operating .edit-btn:hover {
    background-color: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.operating .delete-btn {
    background-color: #e74c3c;
    color: white;
}

.operating .delete-btn:hover {
    background-color: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

/* 统计信息 */
.stats {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 15px;
}

.stat-item {
    text-align: center;
    padding: 0 20px;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3498db;
}

.stat-label {
    font-size: 0.85rem;
    color: #7f8c8d;
    margin-top: 5px;
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .content {
        padding: 15px;
    }
    
    .article-header .title {
        font-size: 1.8rem;
    }
    
    .operating {
        flex-direction: column;
        gap: 10px;
    }
    
    .operating button {
        width: 100%;
    }
    
    #button {
        flex-direction: column;
        gap: 10px;
    }
    
    #button button {
        width: 100%;
    }
}

.error-message {
    text-align: center;
    padding: 40px;
    color: #e74c3c;
}

.error-message i {
    display: block;
    font-size: 2rem;
    margin-bottom: 15px;
}

/* 按钮区域样式 */
#button {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

#button button {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#button button i {
    margin-right: 8px;
    font-size: 1.1rem;
}

#button .edit-btn {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
}

#button .edit-btn:hover {
    background: linear-gradient(135deg, #2980b9, #1a5276);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(52, 152, 219, 0.5);
}

#button .delete-btn {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

#button .delete-btn:hover {
    background: linear-gradient(135deg, #c0392b, #922b21);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(231, 76, 60, 0.5);
}